package com.ccsc.auth.dao;

import com.ccsc.auth.entity.Systems;
import com.github.miemiedev.mybatis.paginator.domain.PageBounds;

import java.util.List;

/**
 * 系统
 * Created by yyangs on 2017/2/10.
 */
public interface SystemsDao {
    Systems getSystemsById(Systems systems) throws Exception;   			                                            //根据系统条件查单个系统信息
    Systems getSystemsInfoByResourceId(Integer resourceId) throws Exception;                                            //根据资源id查询系统信息

    List<Systems> getAllSystemsInfos() throws Exception;       									                        //获取全部系统列表
    List<Systems> getAllSystemsInfos(PageBounds pageBounds) throws Exception;       									//获取全部系统列表

    List<Systems> getSystemsInfosByCondition(Systems systems) throws Exception;                                         //根据系统条件（id,系统标识符,系统状态等）查询系统列表
    List<Systems> getSystemsInfosByCondition(Systems systems, PageBounds pageBounds) throws Exception;                  //根据系统条件（id,系统标识符,系统状态等）查询系统列表

    Integer createSystems(Systems systems) throws Exception;  									                        //添加系统
    Integer updateSystems(Systems systems) throws Exception;  							                                //修改系统
    Integer deleteSystems(Systems systems) throws Exception; 					                                        //删除系统
}